<%@page import="java.rmi.Naming"%>
<%@page import="server.ForumHandlerInt"%>
<%@ page language="java" contentType="text/html; charset=windows-1255"
    pageEncoding="windows-1255"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@ include file="serverConnection.jsp" %>
<%
	
	try
	{
		forum.logout((String)session.getAttribute("userName"),(String)session.getAttribute("password")) ;    

	}
	catch(Exception e)
	{
		response.sendError(response.SC_INTERNAL_SERVER_ERROR,
			"No connection to the forum server.");
		
		response.flushBuffer();
		return;
	}
	
	session.removeAttribute("userName");
	session.removeAttribute("password");


%>


